//
//  QLMClearCacheVC.m
//  Xiaomakuaixiu
//
//  Created by 龚碧容 on 2017/10/28.
//  Copyright © 2017年 hwd. All rights reserved.
//

#import "QLMClearCacheVC.h"

@interface QLMClearCacheVC ()<UITableViewDelegate,UITableViewDataSource>

@end

@implementation QLMClearCacheVC

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title=@"清除缓存";
    // Do any additional setup after loading the view.
    UITableView *_tableview=[[UITableView alloc] initWithFrame:CGRectMake(0, 0, kScreen_width, kScreen_height-49) style:UITableViewStylePlain];
    _tableview.backgroundColor=[UIColor clearColor];
    _tableview.delegate=self;
    _tableview.dataSource=self;
    _tableview.tableFooterView=[UIView new];
    [self.view addSubview:_tableview];
    
    [_tableview registerClass:[GYLClearCacheCell class] forCellReuseIdentifier:@"GYLClearCacheCellid"];
}

- (void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
    self.navigationController.navigationBarHidden=NO;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
    return 1;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
    return [[GYLClearCacheCell alloc] initWithStyle:UITableViewCellStyleValue1 reuseIdentifier:@"GYLClearCacheCellid"];
}
/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
